package com.hlingsoft.cms.entity.vo;

/**
 * Created by selbylei on 2015/5/6.
 */
public class OrderInfoVo {
    private long appUserId;
    private long goodsId;
    private String goodsName;
    private int goodsCount;
    private double goodsPrice;
    private String goodImageId;
    private long consigneeId;
    private String consigneeTime;
    private long couponId;
    private String otherReq;
    private int status;
    private Double goodsRates;    //商品价格
    private Double shippingRates;  //配送费
    private Double couponRates;    //代金券费用
    private Double sumRates;      //总费用


    public long getAppUserId() {
        return appUserId;
    }

    public void setAppUserId(long appUserId) {
        this.appUserId = appUserId;
    }

    public long getGoodsId() {
        return goodsId;
    }

    public void setGoodsId(long goodsId) {
        this.goodsId = goodsId;
    }

    public String getGoodsName() {
        return goodsName;
    }

    public void setGoodsName(String goodsName) {
        this.goodsName = goodsName;
    }

    public int getGoodsCount() {
        return goodsCount;
    }

    public void setGoodsCount(int goodsCount) {
        this.goodsCount = goodsCount;
    }

    public double getGoodsPrice() {
        return goodsPrice;
    }

    public void setGoodsPrice(double goodsPrice) {
        this.goodsPrice = goodsPrice;
    }

    public void setGoodsRates(Double goodsRates) {
        this.goodsRates = goodsRates;
    }

    public Double getSumRates() {
        return sumRates;
    }

    public void setSumRates() {
        this.sumRates = this.goodsRates-this.couponRates+this.shippingRates;
    }

    public String getGoodImageId() {
        return goodImageId;
    }

    public void setGoodImageId(String goodImageId) {
        this.goodImageId = goodImageId;
    }

    public long getConsigneeId() {
        return consigneeId;
    }

    public void setConsigneeId(long consigneeId) {
        this.consigneeId = consigneeId;
    }

    public String getConsigneeTime() {
        return consigneeTime;
    }

    public void setConsigneeTime(String consigneeTime) {
        this.consigneeTime = consigneeTime;
    }

    public long getCouponId() {
        return couponId;
    }

    public void setCouponId(long couponId) {
        this.couponId = couponId;
    }

    public String getOtherReq() {
        return otherReq;
    }

    public void setOtherReq(String otherReq) {
        this.otherReq = otherReq;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public Double getGoodsRates() {
        return goodsRates;
    }

    public void setGoodsRates() {
        this.goodsRates = (this.goodsCount)* this.goodsPrice;
    }

    public Double getShippingRates() {
        return shippingRates;
    }

    public void setShippingRates(Double shippingRates) {
        this.shippingRates = shippingRates;
    }

    public Double getCouponRates() {
        return couponRates;
    }

    public void setCouponRates(Double couponRates) {
        this.couponRates = couponRates;
    }
}
